dev_uart = uart/skyeye_uart.c \
		   uart/skyeye_uart_net.c \
		   uart/skyeye_uart_stdio.c \
		   uart/uart_module.c \
		   uart/skyeye_uart_pipe.c \
		   uart/skyeye_uart_term.c

dev_flash = flash/dev_flash_sst39lvf160.c \
			flash/flash_module.c \
			flash/skyeye_flash.c

dev_lcd	= lcd/skyeye_lcd.c \
		  lcd/dev_lcd_s3c2410.c \
		  lcd/lcd_module.c

dev_nandflash = nandflash/dev_nandflash_s3c2410.c \
				nandflash/nandflash_module.c \
				nandflash/nandflash_smallblock.c \
				nandflash/skyeye_nandflash.c

libuart_la_SOURCES = $(dev_uart)
libuart_la_LDFLAGS = -module -lcommon -L$(top_srcdir)/common/.libs -no-undefined

libflash_la_SOURCES = $(dev_flash)
libflash_la_LDFLAGS = -module -lcommon -L$(top_srcdir)/common/.libs -no-undefined

liblcd_la_SOURCES = $(dev_lcd)
liblcd_la_LDFLAGS = -module -lcommon -L$(top_srcdir)/common/.libs -no-undefined

libnandflash_la_SOURCES = $(dev_nandflash)
libnandflash_la_LDFLAGS = -module -lcommon -L$(top_srcdir)/common/.libs -no-undefined

pkglib_LTLIBRARIES = libuart.la libflash.la liblcd.la libnandflash.la

DEFS = -DMODET -g -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 

skyeye_bin_dir = \"$(prefix)/bin/\"
INCLUDES = -I./ @COMMON_INCLUDES@ -DSKYEYE_BIN=$(skyeye_bin_dir)
